.class Lcom/esfile/screen/recorder/media/c$h$b;
.super Ljava/lang/Object;
.source "DuVideoStitcher.java"

# interfaces
.implements Les/j9$b;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/esfile/screen/recorder/media/c$h;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field private a:I

.field private b:J

.field private c:J

.field final synthetic d:Lcom/esfile/screen/recorder/media/c$h;


# direct methods
.method constructor <init>(Lcom/esfile/screen/recorder/media/c$h;)V
    .locals 2

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/media/c$h$b;->d:Lcom/esfile/screen/recorder/media/c$h;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 p1, 0x0

    .line 2
    iput p1, p0, Lcom/esfile/screen/recorder/media/c$h$b;->a:I

    const-wide/16 v0, 0x0

    .line 3
    iput-wide v0, p0, Lcom/esfile/screen/recorder/media/c$h$b;->b:J

    .line 4
    iput-wide v0, p0, Lcom/esfile/screen/recorder/media/c$h$b;->c:J

    return-void
.end method


# virtual methods
.method public a()V
    .locals 0

    return-void
.end method

.method public a(JZ)V
    .locals 2

    if-eqz p3, :cond_0

    .line 9
    iput-wide p1, p0, Lcom/esfile/screen/recorder/media/c$h$b;->c:J

    goto :goto_0

    .line 10
    :cond_0
    iput-wide p1, p0, Lcom/esfile/screen/recorder/media/c$h$b;->b:J

    .line 11
    :goto_0
    iget-object p3, p0, Lcom/esfile/screen/recorder/media/c$h$b;->d:Lcom/esfile/screen/recorder/media/c$h;

    invoke-static {p3}, Lcom/esfile/screen/recorder/media/c$h;->c(Lcom/esfile/screen/recorder/media/c$h;)Z

    move-result p3

    if-eqz p3, :cond_1

    .line 12
    iget-wide p1, p0, Lcom/esfile/screen/recorder/media/c$h$b;->c:J

    iget-wide v0, p0, Lcom/esfile/screen/recorder/media/c$h$b;->b:J

    add-long/2addr p1, v0

    const-wide/16 v0, 0x2

    div-long/2addr p1, v0

    :cond_1
    long-to-float p1, p1

    .line 13
    iget-object p2, p0, Lcom/esfile/screen/recorder/media/c$h$b;->d:Lcom/esfile/screen/recorder/media/c$h;

    invoke-static {p2}, Lcom/esfile/screen/recorder/media/c$h;->d(Lcom/esfile/screen/recorder/media/c$h;)J

    move-result-wide p2

    long-to-float p2, p2

    div-float/2addr p1, p2

    const/high16 p2, 0x42c80000    # 100.0f

    mul-float p1, p1, p2

    float-to-int p1, p1

    const/16 p2, 0x64

    if-le p1, p2, :cond_2

    const/16 p1, 0x64

    .line 14
    :cond_2
    iget p2, p0, Lcom/esfile/screen/recorder/media/c$h$b;->a:I

    if-eq p1, p2, :cond_3

    .line 15
    iget-object p2, p0, Lcom/esfile/screen/recorder/media/c$h$b;->d:Lcom/esfile/screen/recorder/media/c$h;

    iget-object p3, p2, Lcom/esfile/screen/recorder/media/c$h;->C:Lcom/esfile/screen/recorder/media/c;

    invoke-static {p3, p2, p1}, Lcom/esfile/screen/recorder/media/c;->a(Lcom/esfile/screen/recorder/media/c;Lcom/esfile/screen/recorder/media/c$h;I)V

    .line 16
    iput p1, p0, Lcom/esfile/screen/recorder/media/c$h$b;->a:I

    :cond_3
    return-void
.end method

.method public a(Ljava/lang/String;JLjava/lang/Exception;)V
    .locals 1

    .line 1
    iget-object p1, p0, Lcom/esfile/screen/recorder/media/c$h$b;->d:Lcom/esfile/screen/recorder/media/c$h;

    const/4 v0, 0x0

    invoke-static {p1, v0}, Lcom/esfile/screen/recorder/media/c$h;->c(Lcom/esfile/screen/recorder/media/c$h;Z)Z

    if-eqz p4, :cond_0

    .line 2
    iget-object p1, p0, Lcom/esfile/screen/recorder/media/c$h$b;->d:Lcom/esfile/screen/recorder/media/c$h;

    invoke-static {p1, p4}, Lcom/esfile/screen/recorder/media/c$h;->a(Lcom/esfile/screen/recorder/media/c$h;Ljava/lang/Exception;)V

    goto :goto_0

    .line 3
    :cond_0
    iget-object p1, p0, Lcom/esfile/screen/recorder/media/c$h$b;->d:Lcom/esfile/screen/recorder/media/c$h;

    invoke-static {p1}, Lcom/esfile/screen/recorder/media/c$h;->f(Lcom/esfile/screen/recorder/media/c$h;)Z

    move-result p1

    if-nez p1, :cond_2

    .line 4
    iget-object p1, p0, Lcom/esfile/screen/recorder/media/c$h$b;->d:Lcom/esfile/screen/recorder/media/c$h;

    invoke-static {p1}, Lcom/esfile/screen/recorder/media/c$h;->a(Lcom/esfile/screen/recorder/media/c$h;)Z

    move-result p1

    if-eqz p1, :cond_1

    .line 5
    new-instance p1, Ljava/io/File;

    iget-object p2, p0, Lcom/esfile/screen/recorder/media/c$h$b;->d:Lcom/esfile/screen/recorder/media/c$h;

    invoke-static {p2}, Lcom/esfile/screen/recorder/media/c$h;->b(Lcom/esfile/screen/recorder/media/c$h;)Ljava/lang/String;

    move-result-object p2

    invoke-direct {p1, p2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-static {p1}, Lcom/esfile/screen/recorder/media/util/j;->a(Ljava/io/File;)Z

    .line 6
    iget-object p1, p0, Lcom/esfile/screen/recorder/media/c$h$b;->d:Lcom/esfile/screen/recorder/media/c$h;

    iget-object p2, p1, Lcom/esfile/screen/recorder/media/c$h;->C:Lcom/esfile/screen/recorder/media/c;

    invoke-static {p2, p1}, Lcom/esfile/screen/recorder/media/c;->b(Lcom/esfile/screen/recorder/media/c;Lcom/esfile/screen/recorder/media/c$h;)V

    goto :goto_0

    .line 7
    :cond_1
    iget-object p1, p0, Lcom/esfile/screen/recorder/media/c$h$b;->d:Lcom/esfile/screen/recorder/media/c$h;

    iget-object p4, p1, Lcom/esfile/screen/recorder/media/c$h;->C:Lcom/esfile/screen/recorder/media/c;

    invoke-static {p1}, Lcom/esfile/screen/recorder/media/c$h;->b(Lcom/esfile/screen/recorder/media/c$h;)Ljava/lang/String;

    move-result-object v0

    invoke-static {p4, p1, v0, p2, p3}, Lcom/esfile/screen/recorder/media/c;->a(Lcom/esfile/screen/recorder/media/c;Lcom/esfile/screen/recorder/media/c$h;Ljava/lang/String;J)V

    goto :goto_0

    .line 8
    :cond_2
    new-instance p1, Ljava/io/File;

    iget-object p2, p0, Lcom/esfile/screen/recorder/media/c$h$b;->d:Lcom/esfile/screen/recorder/media/c$h;

    invoke-static {p2}, Lcom/esfile/screen/recorder/media/c$h;->b(Lcom/esfile/screen/recorder/media/c$h;)Ljava/lang/String;

    move-result-object p2

    invoke-direct {p1, p2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-static {p1}, Lcom/esfile/screen/recorder/media/util/j;->a(Ljava/io/File;)Z

    :goto_0
    return-void
.end method

.method public b()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/media/c$h$b;->d:Lcom/esfile/screen/recorder/media/c$h;

    invoke-static {v0}, Lcom/esfile/screen/recorder/media/c$h;->f(Lcom/esfile/screen/recorder/media/c$h;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Ljava/io/File;

    iget-object v1, p0, Lcom/esfile/screen/recorder/media/c$h$b;->d:Lcom/esfile/screen/recorder/media/c$h;

    invoke-static {v1}, Lcom/esfile/screen/recorder/media/c$h;->b(Lcom/esfile/screen/recorder/media/c$h;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-static {v0}, Lcom/esfile/screen/recorder/media/util/j;->a(Ljava/io/File;)Z

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/media/c$h$b;->d:Lcom/esfile/screen/recorder/media/c$h;

    iget-object v1, v0, Lcom/esfile/screen/recorder/media/c$h;->C:Lcom/esfile/screen/recorder/media/c;

    invoke-static {v1, v0}, Lcom/esfile/screen/recorder/media/c;->b(Lcom/esfile/screen/recorder/media/c;Lcom/esfile/screen/recorder/media/c$h;)V

    goto :goto_0

    .line 4
    :cond_0
    new-instance v0, Ljava/io/File;

    iget-object v1, p0, Lcom/esfile/screen/recorder/media/c$h$b;->d:Lcom/esfile/screen/recorder/media/c$h;

    invoke-static {v1}, Lcom/esfile/screen/recorder/media/c$h;->b(Lcom/esfile/screen/recorder/media/c$h;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-static {v0}, Lcom/esfile/screen/recorder/media/util/j;->a(Ljava/io/File;)Z

    :goto_0
    return-void
.end method

.method public c()V
    .locals 0

    return-void
.end method

.method public d()V
    .locals 3

    .line 1
    iget v0, p0, Lcom/esfile/screen/recorder/media/c$h$b;->a:I

    const/16 v1, 0x64

    if-ge v0, v1, :cond_0

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/media/c$h$b;->d:Lcom/esfile/screen/recorder/media/c$h;

    iget-object v2, v0, Lcom/esfile/screen/recorder/media/c$h;->C:Lcom/esfile/screen/recorder/media/c;

    invoke-static {v2, v0, v1}, Lcom/esfile/screen/recorder/media/c;->a(Lcom/esfile/screen/recorder/media/c;Lcom/esfile/screen/recorder/media/c$h;I)V

    .line 3
    iput v1, p0, Lcom/esfile/screen/recorder/media/c$h$b;->a:I

    :cond_0
    return-void
.end method
